using System.Collections;
using System.Collections.Generic;
using Source.Common;


namespace  Source.Web.FrameWork
{
    public interface IView
    {

        bool IsPostBack { get; }
        bool IsAjaxPostBack { get; }
        bool IsValid { get; }
        IDictionary State { get; }

        void DataBind();
        void DisplayInformationalMessages(string message);
        void DisplayInformationalMessages(IEnumerable<string> messages);
        void DisplayErrorMessages(string message);
        void DisplayValidationMessages(ValidationSummary validationSummary);
        void DisplayErrorMessages(IEnumerable<string> messages);
        void DisplayMessageBox(string message);
    }
}